#ifndef _MAINWINDOW_INCLUDED_
#define _MAINWINDOW_INCLUDED_


#include "types.hpp"

class Ui_MainWindow;
class FSTree;
class FileList;
class DeviceDialog;
class FS;
class Contents;

class MainWindow: public QMainWindow
{
	Q_OBJECT

	FS *fs;
	Ui_MainWindow *ui;
	FSTree *fstree;
	FileList *fl;
	Contents *contents;

	//search data
	Keyword keyword;
	Device device;

public:
	MainWindow();
	~MainWindow();

public slots:
	void changeDevice();
	void changeKeyword();
	void showSearch();
};

#endif //_MAINWINDOW_INCLUDED_
